package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcRuleCollectionItem;
import com.dream.technology.db.entity.RcRuleCollectionItemQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcRuleCollectionItemMapper {
    int countByExample(RcRuleCollectionItemQuery example);

    int deleteByExample(RcRuleCollectionItemQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcRuleCollectionItem record);

    int insertSelective(RcRuleCollectionItem record);

    List<RcRuleCollectionItem> selectByExample(RcRuleCollectionItemQuery example);

    RcRuleCollectionItem selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcRuleCollectionItem record, @Param("example") RcRuleCollectionItemQuery example);

    int updateByExample(@Param("record") RcRuleCollectionItem record, @Param("example") RcRuleCollectionItemQuery example);

    int updateByPrimaryKeySelective(RcRuleCollectionItem record);

    int updateByPrimaryKey(RcRuleCollectionItem record);


    int insertList(List<RcRuleCollectionItem> record);


}